package com.exam.service;

import com.exam.dto.ChangePwdParam;
import com.exam.dto.RegisterParam;
import com.exam.entity.Admin;
import com.exam.entity.Student;
import com.exam.entity.Teacher;

public interface LoginService {

    public Admin adminLogin(String userMobile, String password);

    public Teacher teacherLogin(String userMobile, String password);

    public Student studentLogin(String userMobile, String password);

    String register(RegisterParam registerParam);

    Integer findByPwd(Long studentId,String password);

    void changePwd(ChangePwdParam changePwdParam);

    Integer findById(Long id);

    Integer findByPwdTea(Long id, String oldPassword);

    void changePwdTea(ChangePwdParam changePwdParam);
}
